package yhao.demo.service.erp.workflow.apilist.model.flow;

import io.swagger.annotations.ApiModelProperty;
import yhao.demo.service.erp.workflow.apilist.enums.flow.FlowNodeType;
import yhao.infra.common.model.Entity;

public class FlowNodeTemplateModel extends Entity<String> {
    @ApiModelProperty(value = "节点名称")
    private String name;

    @ApiModelProperty(value = "是否设置预警")
    private Boolean warn;

    @ApiModelProperty("节点类型")
    private FlowNodeType type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public FlowNodeType getType() {
        return type;
    }

    public void setType(FlowNodeType type) {
        this.type = type;
    }

    public Boolean getWarn() {
        return warn;
    }

    public void setWarn(Boolean warn) {
        this.warn = warn;
    }
}
